<?php
class AuthorDao extends XDao_Model
{
	protected $table = 'authors';
	protected $prefix = 'author_';

	protected $relations = array
	(
		'house' => array(XDb::HAS_ONE, 'HouseDao'),
		'books' => array(XDb::HAS_MANY, 'BookDao'),
	);
}
?>